import request from '../utils/request'

//首页
export function processList(data) {
  return request({
    url: '/home/process_list',
    method: 'post',
    data
  })
}

//绩效指标
export function production(data) {
  return request({
    url: '/home/production',
    method: 'post',
    data
  })
}

//工单进度报表
export function schedule(data) {
  return request({
    url: '/home/schedule',
    method: 'post',
    data
  })
}

//生产实时播报
export function produceReport(data) {
  return request({
    url: '/home/produce_report',
    method: 'post',
    data
  })
}

//工序设置
export function pmSet(data) {
  return request({
    url: '/home/pm_set',
    method: 'post',
    data
  })
}
